let a =
{
    firstname : "abc",
};

console.log(a?.bb?.cc);